fromFile

Constructs an image source with a File.

Return

the new image source

Parameters

file

the source File to use as an image source